package com.share.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "encryption")
public class EncryptionProperties {
    private String key;

    private String iv;

    private String algorithm = "AES/CBC/PKCS5Padding";
    private String keyAlgorithm = "AES";
}
